/* Functions declared in Playlist.c */

DWORD WINAPI OpenPlaylistFile(LPVOID);
DWORD WINAPI InvokePlaylist(LPVOID);
int GetPlaylistType(LPTSTR);
bool ASXLoad(PLAYLISTDATA*);
bool M3ULoad(PLAYLISTDATA*);
bool WPLLoad(PLAYLISTDATA*);
void XMLToPlaylist(PLAYLISTDATA*, LPWSTR, IXMLDOMNodeList*, unsigned long);
IXMLDOMDocument2* LoadXML(LPTSTR);
LPTSTR ASXToXML(LPTSTR);
void TogglePlaylistMenu(HWND, bool);
unsigned long GetRandomTrack(PLAYLISTDATA*);
DWORD WINAPI RawDataToPlaylist(LPVOID);
void SavePlaylist(HWND, PLAYLISTDATA*);
void SavePlaylistAsM3U(PLAYLISTDATA*, LPCTSTR);
void StartPlaylist(PLAYLISTDATA*, HWND);
void AddFileToPlaylistView(HWND, TCHAR*, unsigned long);
int CALLBACK CompareListItems(LPARAM, LPARAM, LPARAM);
DWORD WINAPI PlaylistSortSupportThread(LPVOID);
DWORD WINAPI BuildPlaylistView(LPVOID);
void GetPVSelection(HWND, LVITEM*);
void FolderFilesToPlaylist(TCHAR*, PLAYLISTDATA*);
